Inpsyde\WcEvents\Hooks\ProductHooks S

Total Complexity 28
Dependencies 8
Dependents 1
Total lines 386
Lines of code 164
Logical lines of code 82
Comment lines 171
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
createAfterSaveHook()
S
50 7 29
beforeSave()
S
54 6 21
register()
S
46 2 51
createWcProductGuard()
S
60 3 14
afterSave()
S
65 3 10
registerAfterHooks()
S
73 2 5
preWarmCaches()
S
65 2 10
afterSaveHookNames()
S
64 1 12
__construct()
S
74 1 5
prepareOldProduct()
S
70 1 7